﻿@using MobileSales.Website.Localization

@if (Request.IsAuthenticated)
{
<ul class="topnav">  
    <li>@Html.ActionLink(Strings.Home, "Index", "Home")</li>
    <li>  
        @Html.ActionLink(Strings.Products, "Index", "Products")  
        <ul class="subnav">  
            <li>@Html.ActionLink(Strings.ProductList, "Index", "Products")</li>
            <li>@Html.ActionLink(Strings.Categories, "Index", "Categories")</li>
        </ul>
    </li>
    <li>  
        @Html.ActionLink(Strings.Clients, "Index", "Clients") 
        <ul class="subnav">  
            <li>@Html.ActionLink(Strings.ClientList, "Index", "Clients")</li>
            <li>@Html.ActionLink(Strings.Groups, "Index", "ClientGroups")</li>
        </ul>
    </li>
    <li>  
        @Html.ActionLink(Strings.Orders, "Index", "Orders")
    </li>
    <li>  
        @Html.ActionLink(Strings.Tasks, "Index", "Schedules")  
        <ul class="subnav">  
            <li>@Html.ActionLink(Strings.Schedules, "Index", "Schedules")</li>
            <li>@Html.ActionLink(Strings.CyclicTasks, "Index", "CyclicTasks")</li>
        </ul>
    </li>
    <li>  
        @Html.ActionLink(Strings.Documents, "Index", "Documents")  
        <ul class="subnav">  
            <li>@Html.ActionLink(Strings.CreateNew, "Index", "Orders")</li>
            <li>@Html.ActionLink(Strings.Documents, "Index", "Documents")</li>
        </ul>
    </li>
    <li>  
        @Html.ActionLink(Strings.Employees, "Index", "Employees")  
        <ul class="subnav">  
            <li>@Html.ActionLink(Strings.EmployeeList, "Index", "Employees")</li>
            <li>@Html.ActionLink(Strings.Roles, "Index", "Roles")</li>
            <li>@Html.ActionLink(Strings.Contracts, "Index", "Contracts")</li>
        </ul>
    </li>
    <li>  
        <a href="#">@Strings.Dictionaries</a>  
        <ul class="subnav">  
            <li>@Html.ActionLink(Strings.Taxes, "Index", "Taxes")</li>
            <li>@Html.ActionLink(Strings.Units, "Index", "Units")</li>
            <li>@Html.ActionLink(Strings.OrderStatuses, "Index", "OrderStatuses")</li>
            <li>@Html.ActionLink(Strings.TaskStatuses, "Index", "TaskStatuses")</li>
            <li>@Html.ActionLink(Strings.TaskTypes, "Index", "TaskTypes")</li>
            <li>@Html.ActionLink(Strings.DocumentTypes, "Index", "DocumentTypes")</li>
            <li>@Html.ActionLink(Strings.PaymentMethods, "Index", "PaymentMethods")</li>
            <li>@Html.ActionLink(Strings.Parameters, "Index", "Params")</li>
        </ul>
    </li>
</ul> 
}